﻿<%@ Page Title="个人中心" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true"
    CodeFile="MyTravel.aspx.cs" Inherits="MyTravel" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="MyControls/SearchControl.ascx" TagName="SearchControl" TagPrefix="uc1" %>
<%@ Register Src="MyControls/TravelLeftControl.ascx" TagName="TravelLeftControl"
    TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <link href="css/2.css" rel="stylesheet" type="text/css" />
    <link href="css/page.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="js/PCASClass.js" charset="gb2312"></script>

    <div id="conn">
        <div id="left">
            <div class="left1">
                <uc1:SearchControl ID="SearchControl1" runat="server" />
            </div>
            <div class="left3">
                <uc2:TravelLeftControl ID="TravelLeftControl1" runat="server" />
            </div>
        </div>
        <div id="rightd">
            <div class="rgta1">
            </div>
            <div class="rgt2">
                <div id="con">
                    <ul id="tags4">
                        <li class="selectTag4"><a onclick="selectTag4('tag4Content40',this)" href="javascript:void(0)">
                            订单信息</a> </li>
                        <li><a onclick="selectTag4('tag4Content41',this)" href="javascript:void(0)">个人资料</a>
                        </li>
                        <li><a onclick="selectTag4('tag4Content42',this)" href="javascript:void(0)">密码修改</a>
                        </li>
                        <li><a onclick="selectTag4('tag4Content43',this)" href="javascript:void(0)">行行摄摄</a>
                        </li>
                         <li><a onclick="selectTag4('tag4Content44',this)" href="javascript:void(0)">退出登录</a>
                        </li>
                    </ul>
                    <div id="tag4Content4">
                        <div class="tag4Content4 selectTag4" id="tag4Content40">
                            <table width="90%" border="0" cellspacing="0" cellpadding="0" style="margin-top: 20px;">
                                <tr>
                                    <td height="40">
                                        类型
                                    </td>
                                    <td>
                                        名称
                                    </td>
                                    <td>
                                        预定人数
                                    </td>
                                    <td>
                                        预定日期
                                    </td>
                                    <td>
                                        状态
                                    </td>
                                </tr>
                                <asp:Repeater ID="rptOrders" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td height="40">
                                                <%#(Eval("orderType")+"").Equals("0")?"酒店预定":"线路预定" %>
                                            </td>
                                            <td style="width: 300px; overflow: hidden;">
                                                <%#GetLineName(Eval("parentID"),Eval("orderType")) %>
                                            </td>
                                            <td>
                                                <%#Eval("orderNum") %>人
                                            </td>
                                            <td>
                                                <%#Eval("createDate","{0:yyyy-MM-dd}") %>
                                            </td>
                                            <td>
                                                <%#(Eval("orderState")+"").Equals("0")?"等待处理":"已处理" %>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                                <tr>
                                    <td colspan="5" style="text-align: center;">
                                        <webdiyer:AspNetPager CssClass="anpager" CurrentPageButtonClass="cpb" ID="AspNetPager1"
                                            HorizontalAlign="Center" runat="server" AlwaysShow="false" FirstPageText="首页"
                                            Font-Size="12px" LastPageText="尾页" NextPageText="下一页" PageSize="9" PrevPageText="上一页"
                                            ShowBoxThreshold="11" TextAfterPageIndexBox="" TextBeforePageIndexBox="" UrlPaging="true"
                                            OnPageChanging="AspNetPager1_PageChanging">
                                        </webdiyer:AspNetPager>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="tag4Content4" id="tag4Content41">
                            <div class="hyc">
                                个人详细资料</div>
                            <div class="zl">
                                <p>
                                    <span class="zl2">登录名：</span>
                                    <label>
                                        <input type="text" id="txtloginName" readonly="readonly" runat="server" class="bb" />
                                    </label>
                                </p>
                                <p>
                                    <span class="zl2">姓 名：</span>
                                    <label>
                                        <input type="text" id="txtTrueName" runat="server" class="bb" />
                                    </label>
                                </p>
                                <p>
                                    <span class="zl2">所在地：</span>
                                    <label>
                                        &nbsp;
                                        <select name="province" style="width: 120px;">
                                        </select>
                                    </label>
                                    省
                                    <label>
                                        <select name="city">
                                        </select>
                                    </label>
                                    市
                                    <label>
                                        <select name="area">
                                        </select>
                                    </label>
                                    区</p>
                                <p>
                                    <span class="zl2">性 别：</span>
                                    <label>
                                        <asp:RadioButton ID="rbtnBoy" GroupName="xex" runat="server" />
                                        男</label>
                                    <label>
                                        <asp:RadioButton ID="rbtnGirl" GroupName="xex" runat="server" />
                                        女</label>
                                    <br />
                                </p>
                                <p>
                                    <span class="zl2">电 话：</span>
                                    <label>
                                        <input type="text" runat="server" id="txtTel" class="bb" />
                                    </label>
                                </p>
                                <p>
                                    <span class="zl2">E-mail：</span>
                                    <label>
                                        <input type="text" id="txtEmail" runat="server" class="bb" />
                                    </label>
                                </p>
                                <p>
                                    <asp:Button ID="btnSaveBase" runat="server" OnClick="btnSaveBase_Click" class="tijiao3"
                                        Text="保存" />
                                </p>
                            </div>
                        </div>
                        <div class="tag4Content4" id="tag4Content42">
                            <div class="zl">
                                <p>
                                    <span class="zl2">原密码：</span>
                                    <label>
                                        <input type="password" id="txtOldPass" runat="server" class="bb" />
                                    </label>
                                </p>
                                <p>
                                    <span class="zl2">新密码：</span>
                                    <label>
                                        <input type="password" id="txtNewPass1" runat="server" class="bb" />
                                    </label>
                                </p>
                                <p>
                                    <span class="zl2">确 认：</span>
                                    <label>
                                        <input type="password" id="txtNewPass2" runat="server" class="bb" />
                                    </label>
                                </p>
                                <p>
                                    <asp:Button ID="btnSavePass" runat="server" OnClick="btnSavePass_Click" class="tijiao3"
                                        Text="保存" />
                                </p>
                            </div>
                        </div>
                         <div class="tag4Content4" id="tag4Content43" style="text-align:left;"> 
                         <div style="padding-top:50px;">
                         <a href="PubTravelDocInfo.aspx"  class="tijiao3" target="_blank" style="color:White; padding:10px 20px;">我要发布文章</a><br /><br /><br />
                          <a href="PubTravelDoc.aspx"  class="tijiao3"  target="_blank" style="color:White; padding:10px 20px;">我的行行摄摄</a>
                            </div>
                        </div>
                        <div class="tag4Content4" id="tag4Content44">
                            <asp:Button ID="btnSignOut" runat="server" OnClick="btnSignOut_Click" class="tijiao3"
                                Text="确定退出" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script language="javascript" type="text/javascript">
new PCAS("province","city","area",<%=pro %>,<%=cty %>,<%=area %>);
    </script>

</asp:Content>
